import React from "react";

export default (props) => {
    return (
        // 子传父,通过回调函数：callback
        <div onClick={props.onReceiveData.bind(this, 'hello')}>Child1</div>
    )
}